package com.cwt_taxi_xa.constants;

import android.os.Environment;

import com.cwt_taxi_xa.data.SijiInfo;

import java.util.Timer;

public class Constants {

	public static int localVersion = 13;


	public static String LOG_PATH_DIR = Environment.getExternalStorageDirectory() + "/CWT_LOG/";
	public static String LOG_PATH_ZIP = Environment.getExternalStorageDirectory() + "/CWT_LOG";

	//MCU升级再此配置
	public static String MCU_VERSION = "20190908-V012";

	public static String PROJECT_CODE = "wnjp_e5";
	//打开检查mcu升级
	public static boolean MCU_CHECK_ENABLE = true;
	//打开IP和保护
	public static boolean PORT_PROTECT = false;
	//自动升级打开
	public static boolean APK_UPDATE = true;
	//删除崩溃日志
	public static boolean CRASH_FILE_DELETE = true;
	//不使用IC卡&人脸识别(西交投默认使用false)
	public static boolean FACE_AND_CARD_DISABLE = true;
	//使用IC卡的图片进行人脸识别(默认使用true)
	public static boolean FACE_WITH_CARD_ENABLE = true;
	//副服务器默认不打开 false
	public static boolean SWITCHER_BAK_ENABLE = false;
	//声耕升级开关
	public static boolean FOCAL_ACOUSTICS_ENABLE = true;
	//定时拍照关闭默认不打开(不稳定)
	public static boolean SETTING_PHOTOGRAPH_ENABLE = false;

	//3月19日为了研究11点黑屏
	public static boolean debug = true;

	public static String MCU_FILE = "CWT-1600-MCU-" + MCU_VERSION + ".bin";

	public static boolean sijiNow = false;//当前司机信息     是否     当前刷卡司机
	public static SijiInfo sijiinfo = null;

	/**
	 * sd卡路径
	 */
	public static String SDPath = "/mnt/sdcard/";

	/**录音Timer*/
	public static Timer recordTimer = new Timer();

	/**
	 * 日志文件保存路径
	 */
	public static String LogPath = SDPath+"CWTLog/";

	public static String PASS_WORD = "20041019";
	public static String VALIDATION_PASSWD = "185643966";//进维护
	public static String VALIDATION_PASSWD2 = "156823599";//进写卡
	public static String VALIDATION_PASSWD3 = "165896323";//切换计价器日志本地保存
	public static String VALIDATION_PASSWD4 = "8855669632";//切换dvr

	/**录音文件根路径*/
	public static String RECORDING_PATH = SDPath+"/.recording/";

	/**
	 * 软件扩展显示系统应用，应过滤如下包
	 * 发布版本
	 */
	public static final String[] filterPkgNamesForRelease = new String[]{
			"com.iflytek.speechcloud","com.huawei.hidisk"};

	public static final String LOAD_MORE = "松开加载更多";
	public static final String LOADING = "加载中...";

	// 录音文件夹最大存储，单位：M
	public static long recordMaxSize = 499;


	//郑工dvr广播
	public static final String SOCKET_HOST         = "192.168.0.75";
	public static final int SOCKET_UDP_PORT        = 9800;

}
